package com.ynny.librarysystemmanager.common;

import lombok.Data;



public enum BookStatus {

    Borrowing(1,"借阅中"),
    Returned(2 , "已归还"),
    Overdue(3, "已逾期");



    private Integer code;

    private String info;

    BookStatus(Integer code, String info) {
        this.code = code;
        this.info = info;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getInfo() {
        return info;
    }

    public void setInfo(String info) {
        this.info = info;
    }
}
